package org.lc.cmd;

import org.springframework.lang.Nullable;

import java.io.Closeable;
import java.text.AttributedString;
import java.util.concurrent.Future;

public interface CmdSession extends Closeable {
    /**
     * Session Id
     */
    String getId();

    boolean isOpen();

    <T> Future<T> sendSysReq(SentSysReq<T> req);
}
